<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>


<legend>
    Add New Addon Type
</legend>

<form id="add-addon-type" method="post" >

    <p>
        <label for="addon-type-name">Addon Type Name</label>
        <input type="text" required name="addon-type-name" id="addon-type-name" class="input-xlarge" placeholder="Enter name of Addon Type">
    </p>

    <p class="textarea-nice">
        <label for="description" >Addon Type Description</label>
        <textarea name="description" class="input-block-level" id="addontypedescription" required rows="6" > </textarea>
    </p>

    <p>
        <label class="checkbox">
            <input type="checkbox" name="Activestatus" value="active" id="addontypecheckbox"> Check the box to make the Addon Type Active.
        </label>

    </p>

    <p>
        <input type="submit" class="btn btn-primary btn-large" value="Save" name="submit" id="addAddontypeSaveButton">
    </p>
    <p>
        <label class="text-success"> Display the "succesfully saved" message here on successfull submission</label>
    </p>

</form>

<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="js/vendor/jquery-1.8.1.min.js"><\/script>')</script>

<script src="js/vendor/bootstrap.min.js"></script>
<script src="js/nicEdit.js"></script><!-- including nicedit js-->
<script src="js/main.js"></script>
<script src="js/jquery.validate.min.js"></script>
<script type="text/javascript">
        
    $(document).ready(function() { 
			 	 
        // form validation
        $("#add-addon-type").validate();
				 
    });
			
    bkLib.onDomLoaded(function() { //assigning nicedit to textarea 
        new nicEditor({fullPanel : true,iconsPath : 'js/nicEditorIcons.gif',xhtml: true}).panelInstance('description');
    });
        
</script>

